/* Licensed under the Apache License, Version 2.0 (the "License") http://www.apache.org/licenses/LICENSE-2.0 */
.room-block, .room-block .room-container {
	width: 100%;
	height: 100%;
}
.room-block .menu .ui-icon.exit {
	background-image: url(images/exit_button.png);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	margin-left: 5px;
}
.ui-icon.status-user {
	background-image: url(images/status-user.png);
}
.ui-icon.status-wb {
	background-image: url(images/status-wb.png);
}
.ui-icon.status-mod {
	background-image: url(images/status-mod.png);
}
.room-block .event-details.modal {
	position: absolute;
	width: 300px;
	height: 300px;
	top: 30px;
	right:  0;
	left: auto;
	z-index: 3050;
}
.room-block .event-details.modal .modal-dialog {
	padding: 0;
	margin: 0;
}
.room-block .sidebar {
	min-width: 155px;
	width: var(--room-sidebar-width);
	position: absolute;
	height: calc(100% - var(--room-menu-height));
	right: auto;
	left: 0;
}
.room-block .sidebar #room-sidebar-tabs {
	height: calc(100% - var(--buffer-size) - var(--activities-height));
}
.room-block .sidebar .tab {
	padding: 5px 0 0 0;
}
.room-block .sidebar .tab i {
	font-size: 2.2em;
}
html[dir="rtl"] .room-block .sidebar {
	right: 0;
	left: auto;
}
.room-block .sidebar #busy-indicator {
	margin: 8px;
}
.room-block .sidebar .ui-resizable-handle, #chatPanel.room .ui-resizable-handle {
	width: 4px;
	background-color: #f3f3f4;
	border: 1px solid #dedee0;
}
.room-block .sidebar .ui-resizable-handle:hover, #chatPanel.room .ui-resizable-handle:hover {
	background-color: #b6bdca;
	border-color: #bebec3;
}
.room-block .sidebar .ui-tabs .ui-tabs-panel {
	padding: 0;
}
#room-sidebar-tab-users .header {
	padding-left: 5px;
	height: var(--room-sidebar-header-height);
}
#room-sidebar-tab-users .header .ui-icon {
	margin-top: 5px;
	margin-left: 5px;
	width: 32px;
	height: 32px;
}
.room-block .sidebar .user-list {
	overflow-y: auto;
	height: calc(100% - var(--room-sidebar-header-height) - var(--buffer-size));
}
.room-block .sidebar .user-list .user {
	min-height: 40px;
	padding-left: 5px;
	padding-top: 5px;
	background-size: 40px 40px;
	background-repeat: no-repeat;
	background-position: 2px 2px;
	position: relative;
}
.room-block .sidebar .user-list .user:hover {
	background-size: 80px 80px;
	min-height: 80px;
}
.room-block .sidebar .user-list .user:hover .user.name {
	padding: 0px;
	margin-top: 84px;
	min-height: 18px;
}
.room-block .sidebar .user-list .user .user.actions {
	display: none;
}
.room-block.small .sidebar .user-list .user:hover .user.actions {
	margin-top: 84px;
}
.room-block .sidebar .user-list .user:hover .user.actions {
	display: block;
	min-height: 18px;
	padding: 0;
	margin-right: 35px;
}
.room-block .sidebar .user-list .user.name {
	line-height: 18px;
	height: 18px;
	padding: 0;
	padding-left: 44px;
	margin-right: 20px;
	overflow: hidden;
}
.room-block.small .sidebar .user-list .user.name {
	display: none;
}
.room-block .sidebar .user-list .user .user.actions .ui-icon {
	margin-right: 2px;
	margin-top: 0;
}
.room-block .sidebar .user-list .user .ui-icon {
	background-size: 16px;
}
.room-block .sidebar .user-list .user .ui-icon.audio-activity {
	position: absolute;
	bottom: 0px;
	right: 3px;
}
.room-block .sidebar .user-list .user .ui-icon.big {
	background-size: 32px;
}
.room-block .sidebar .icon-undock, .room-block .sidebar .icon-dock {
	font-size: 1.6em;
	padding-top: 3px;
}
.room-block .sidebar .icon-dock:before {
	content: "\f101";
}
.room-block .sidebar .icon-undock::before {
	content: "\f100";
}
.room-block .sidebar #room-sidebar-tabs .tab-content {
	height: calc(100% - 44px);
}
.room-block .sidebar #room-sidebar-tabs .tab-content .tab-pane {
	height: 100%;
}
.room-block .sidebar.closed .tab-content .tab-pane {
	display: none;
}
.audio-activity.ui-icon {
	opacity: 0.2;
	background-image: url(images/speaking.png);
}
.typing-activity.ui-icon {
	display: none;
	width: 30px;
	background-image: url(images/typing.gif);
}
.typing-activity.ui-icon.typing {
	display: inline-block;
}
.private-chat.ui-icon {
	background-image: url(images/page_edit.png);
}
.audio-activity.ui-icon.speaking, .ui-icon.granted {
	opacity: 1;
}
.right.moderator.ui-icon {
	background-image: url(images/user_add.png);
}
.room-block .menu .details .icon.ask {
	background-image: url(images/hand.png);
}
.right.moderator.ui-icon.granted {
	background-image: url(images/user_delete.png);
}
.right.presenter.ui-icon {
	background-image: url(images/wand_add.png);
}
.right.presenter.ui-icon.granted {
	background-image: url(images/wand_delete.png);
}
.right.wb.ui-icon {
	background-image: url(images/pencil_add.png);
}
.right.wb.ui-icon.granted {
	background-image: url(images/pencil_delete.png);
}
.right.screen-share.ui-icon {
	background-image: url(images/monitor_add.png);
}
.right.screen-share.ui-icon.granted {
	background-image: url(images/monitor_delete.png);
}
.right.remote-control.ui-icon {
	background-image: url(images/mouse_add.png);
}
.right.remote-control.ui-icon.granted {
	background-image: url(images/mouse_delete.png);
}
.right.audio.ui-icon {
	background-image: url(images/microphone_add.png);
}
.right.audio.ui-icon.granted {
	background-image: url(images/microphone_delete.png);
}
.right.camera.ui-icon {
	background-image: url(images/webcam_add.png);
}
.room-block .sidebar .user-list .user .kick.ui-icon {
	background-size: auto; /* IE */
	background-size: initial;
}
.right.camera.ui-icon.granted {
	background-image: url(images/webcam_delete.png);
}
.ui-icon.mute-others {
	background-image: url(images/microphone_muteothers.png);
}
.restart.ui-icon {
	background-size: auto !important; /* IE */
	background-size: initial !important;
}
.settings.ui-icon, .settings.om-icon {
	background-image: url(images/settings.png);
}
.activity.cam.ui-icon {
	background-image: url(images/webcam_enable.png);
}
.activity.cam.enabled.ui-icon {
	background-image: url(images/webcam_disable.png);
}
.activity.mic.ui-icon {
	background-image: url(images/microphone_enable.png);
}
.ui-icon.disabled, .om-icon.disabled {
	filter: grayscale(100%);
	pointer-events: none;
}
.activity.mic.enabled.ui-icon {
	background-image: url(images/microphone_disable.png);
}
.room-block .sidebar .user-list .user .user.actions .ui-icon.bumper
, #room-sidebar-tab-users .header .ui-icon.bumper {
	padding-right: 5px;
}
.room-block .sidebar .user-list .user.current {
	font-weight: bold;
	background-color: #00FF00;
}
.dropdown-menu.video.volume, .dropdown-menu.video.volume li {
	width: 20px;
	min-width: 20px;
	border-radius: 0;
	border: 0;
	box-shadow: initial;
	left: 70px;
	top: -50px;
	background-color: transparent;
}
.input .select2-container {
	max-height: 100px;
	overflow-y: auto;
}
.sip .button-row {
	text-align: center;
	margin: 5px;
}
.sip .button-row input.sip-number {
	width: 130px;
}
.sip .button-row #sip-dialer-btn-erase {
	margin-left: 5px;
}
.sip .button-row #sip-dialer-btn-erase .ui-button-text {
	padding: .1em .7em;
	font-weight: bolder;
}
.room-block .sidebar .tab.om-icon.big {
	line-height: 30px;
	width: auto;
	max-width: 80px;
	position: relative;
}
.room-block .sidebar .tab .badge {
	position: absolute;
	bottom: 0;
	right: 2px;
}
.room-block .sidebar .tab.om-icon.big .label {
	max-width: 50px;
	display: inline-block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.room-block.small .sidebar .tab.om-icon.big {
	max-width: 40px;
	width: 40px;
	padding-right: 0;
}
.room-block.small .sidebar .tab.om-icon.big .label {
	display: none;
}
.room-block.small .sidebar .file-tree .file.item .name
	, .room-block.small .sidebar .file-tree .file.item .name span
{
	width: 40px;
}
.room-block .wait-moder {
	position: fixed;
	bottom: 30px;
	right: 30px;
}
.room-block.small .wait-moder {
	font-size: 120%;
}
.room-block .wait-moder strong {
	display: block;
	padding-bottom: 20px;
}

/************ VIDEO **************/
.ui-dialog.video, .ui-dialog.video .ui-dialog-titlebar, .ui-dialog.video .ui-dialog-content {
	padding: 0;
}
.ui-dialog.video .ui-dialog-content {
	overflow: hidden;
}
.ui-dialog.video .ui-dialog-titlebar {
	padding-left: 10px
}
.ui-dialog.video.user-video.user-speaks {
	box-shadow: 3px 3px 4px green;
}
.ui-dialog.user-video .level-meter {
	display: inline-block;
	position: absolute;
	bottom: 5px;
	left: 5px;
	width: 10px;
}
#video-settings {
	padding: 5px 10px;
}
#video-settings.video .modal-dialog {
	max-width: 640px;
}
.modal.video .title {
	font-weight: bold;
}
.modal.video .opt-block {
	width: 300px;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
}
.modal.video .vid-block {
	min-width: 300px;
	padding-left: 305px;
}
.modal.video .warn {
	float: right;
	margin-right: .3em;
}
.modal.video .sett-container {
	position: relative;
	min-height: 250px;
}
.modal.video .sett-row {
	padding-top: 10px;
}
.modal.video .sett-row.right {
	text-align: right;
}
.modal.video .vid-block .video-conainer {
	overflow: auto;
	max-height: 300px;
	position: relative;
}
.sett-container .vid-block .timer {
	float: left;
	padding: 2px 4px;
}
#video-settings .close {
	margin: 0 0 0 auto;
}
.modal.video .footer {
	display: none;
}
.modal.video.mic-status .footer {
	display: block;
}
.room-block .room-container .user-video {
	display: inline-block !important;
}
.room-block .room-container .user-video .header {
	height: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.room-block .room-container .user-video .header .ui-dialog-title {
	padding-left: 5px;
}
.room-block .room-container .user-video .video {
	min-width: 40px;
	min-height: 30px;
	overflow: hidden;
	position: relative;
}
.room-block .room-container .user-video .video.audio-only {
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: center;
}
.pod-area {
	display: inline-grid;
}
.pod-area.max2, .pod-area.max3 {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
}
.pod-area.max2 {
	grid-template-areas:
		"e a a"
		"b a a";
}
.pod-area.max3 {
	grid-template-areas:
		"b1 a a"
		"b2 a a";
}
.pod-area.max5, .pod-area.max9, .pod-area.max13 {
	grid-template-columns: repeat(4, 1fr);
	grid-template-areas:
		"b1 a a b2"
		"b3 a a b4";
}
.pod-area.max5 {
	grid-template-rows: repeat(2, 1fr);
}
.pod-area.max9 {
	grid-template-rows: repeat(3, 1fr);
}
.pod-area.max13 {
	grid-template-rows: repeat(4, 1fr);
}
.pod-area.max17, .pod-area.max25, .pod-area.max33 {
	grid-template-columns: repeat(8, 1fr);
	grid-template-areas: 
		"b01 b02 a a a a b03 b04"
		"b05 b06 a a a a b07 b08"
		"b09 b10 a a a a b11 b12"
		"b13 b14 a a a a b15 b16";
}
.pod-area.max17 {
	grid-template-rows: repeat(4, 1fr);
}
.pod-area.max25 {
	grid-template-rows: repeat(5, 1fr);
}
.pod-area.max33 {
	grid-template-rows: repeat(6, 1fr);
}
.pod-area .pod-big, .pod-area .pod {
	position: relative;
	padding: 2px;
	margin: 2px;
	overflow: hidden;
}
.pod-area .empty {
	grid-area: e;
}
.pod-area .pod-big {
	grid-area: a;
	border: 1px solid #cccccc;
	border-radius: 8px;
	background-image: url(images/drop.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 64px;
}
.pod-area .pod {
}
.pod-area .pod .user-video.ui-dialog
, .pod-area .pod-big .user-video.ui-dialog
{
	height: calc(100% - var(--buffer-size)) !important;
	width:  calc(100% - var(--buffer-size)) !important;
}
.pod-area .pod.ui-sortable-placeholder {
	background-color: whitesmoke;
	visibility: visible !important;
}
.pod-area .pod-big.ui-hightlight {
	box-shadow: 3px 3px 4px blue;
}
.width250 {
	min-width: 250px;
	max-width: 250px;
}
.main.room.interview .wb-block .wb-area .rec-btn {
	z-index: 100;
	border-radius: 30px;
	position: absolute;
	right: 50%;
	bottom: 0px;
	width: 40px;
	height: var(--rec-btn-height);
}
.main.room.interview .wb-block .wb-area .pod-area {
	width: 100%;
	height: calc(100% - var(--rec-btn-height));
}
.main.room.interview .wb-block .wb-area .rec-btn .ui-button-icon.ui-icon.stop
, .main.room.interview .wb-block .wb-area .rec-btn .ui-button-icon.ui-icon.record
{
	background-image: none;
	background-color: red;
}
.main.room.interview .wb-block .wb-area .rec-btn .ui-button-icon.ui-icon.record {
	border-radius: 15px;
}
#quick-vote {
	position: absolute;
	right: 40px;
	bottom: 40px;
	padding: 5px;
	background-color: aquamarine;
}
#quick-vote .control {
	display: inline-block;
	width: 40px;
	height: 40px;
	background-repeat: no-repeat;
	background-size: 35px;
	position: relative;
}
#quick-vote .control.pro {
	background-image: url(images/add.png);
}
#quick-vote .control.con {
	background-image: url(images/cancel.png);
}
.main.room.interview #quick-vote {
	z-index: 100;
	right: 10px;
	bottom: 0;
	padding: 0px 5px 0px 5px;
	height: 40px;
}
.main.room.interview #quick-vote .close {
	display: inline-block;
	float: right;
}
#sharer .label {
	width: 215px;
	display: inline-block;
}
#sharer input {
	width: 75px;
}
#room-sidebar-tabs.tabs .btn-dock {
	display: inline-block;
	list-style: none;
	list-style-type: none;
	padding: 0 .5em;
	border-bottom-width: inherit;
	height: 25px;
	position: absolute;
	top: 5px;
	right: 5px;
}
.video .mute-others {
	position: absolute;
	top: calc(50% - 32px);
	left: calc(50% - 32px);
	width: 64px;
	height: 64px;
	background-size: 64px;
	z-index: 2;
	display: none;
}
.video:hover .mute-others.enabled {
	display: block;
}
.user-video.ui-dialog .ui-dialog-content {
	height: calc(100% - var(--vdialog-titlebar-height)) !important;
	width: 100% !important;
}
.user-video.ui-dialog .ui-dialog-content .video {
	height: calc(100% - var(--vdialog-footer-height)) !important;
	width: 100%  !important;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
}
.user-video.ui-dialog .ui-dialog-content .video video, .user-video.ui-dialog .ui-dialog-content .video audio {
	height: 100% !important;
	width: 100% !important;
}
.user-video.ui-dialog .ui-dialog-content .video .level-meter {
	height: calc(100% - 10px) !important;
}
.user-video.ui-dialog .ui-dialog-content .footer {
	height: var(--vdialog-footer-height) !important;
}
@media screen and (max-width: 1280px) {
	.room-block .sidebar .tab.om-icon.big {
		max-width: 0px;
		padding-right: 0;
	}
	.room-block.big .sidebar .tab.om-icon.big {
		max-width: 80px;
		padding: 0em 1em 0 2.5em;
	}
	.room-block .sidebar .user-list .user.name {
		display: none;
	}
	.room-block.big .sidebar .user-list .user.name {
		display: block;
	}
	.room-block .sidebar .file-tree .file.item .name
	, .room-block .sidebar .file-tree .file.item .name span
	{
		width: 40px;
	}
	.room-block.big .sidebar .file-tree .file.item .name
	, .room-block.big .sidebar .file-tree .file.item .name span
	{
		width: 255px;
	}
	.room-block .sidebar .file-tree .file.item .name span {
		padding: 0;
	}
	.room-block .sidebar .file-tree .file.item {
		width: 80px;
	}
	.room-block.big .sidebar .file-tree .file.item {
		width: auto;
	}
}
